<!--<?php
include_once PrintEot('m_header');
print <<<EOT
-->
<script language="JavaScript" src="mode/o/js/comment.js"></script>
<script language="JavaScript" src="mode/o/js/board.js"></script>
<div class="infobox pr cc">
    <div class="p10">
		<table border="0" class="vt" style="table-layout:fixed; width:100%;margin-bottom:10px;">
			<tr>
				<td width="60">
					<a href="{$basename}q=user&u=$uid"><img src="$faceimg" class="portrait-m"/></a>
				</td>
				<td>
					<p class="pdtb3">
						<span class="b f14">{$username}</span> <a href="{$basename}q=user&u=$uid">返回首页</a>
					</p>
	            </td>
			</tr>
		</table>
    </div>
</div>
<div class="wrapB cc mt8">
	<div class="contentB">
		<div class="c"></div>
		<dl class="mb8 pdD" id="board_container">
<!--
EOT;
if (!empty($boards)) {
foreach ($boards as $key => $value) {print <<<EOT
-->
			<dd class="cc pdD" id="board_{$value[id]}">
				<div>
					<dl class="cc mt8" style="overflow:hidden">
						<dd class="fl pdr">
							<img src="$value[face]" class="fl pdr portrait-s" />
						</dd>
<!--
EOT;
if ($value[uid]==$winduid || $winduid==$uid || $groupid==3) { print <<<EOT
-->
						<dd class="fr"><a style="cursor: pointer;" onclick="pwConfirm('是否确定删除本条留言',this,function(){delBoard('$value[id]')})" title="删除" class="o-del gray">删除</a></dd>
<!--
EOT;
} print <<<EOT
-->
							
						<dd class="fl cc">
							
							<a href="{$basename}q=user&u=$value[uid]">$value[username]</a> 
							<span class="gray">$value[postdate] 留言道:</span>
							<div class="pdD">
								$value[title]
							</div>
<!--
EOT;
if ($value[uid]==$winduid || $winduid==$uid) { print <<<EOT
-->
							<div id="com_board_{$value[id]}" >
								<p>
									<a style="cursor: pointer;" class="flatcmt-get" onclick="javascript:showCommList('board','$value[id]','com_board_{$value[id]}',this)">回复($value[c_num])</a>
								</p>
							</div>
<!--
EOT;
} print <<<EOT
-->
						</dd>
					</dl>
				</div>
			</dd>
<!--
EOT;
}} else {print <<<EOT
-->

			<dd class="cc">
				<p>
					暂无留言
				</p>
			</dd>

<!--
EOT;
}print <<<EOT
-->
		</dl>$pages
	</div>
</div>
</div>
<!--
EOT;
?>-->